package com.tony.activotytest;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class NormalActivity extends BaseActivity {

    private Button butExit;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_normal);
        initView();
    }

    // 初始化视图
    private void initView(){

        butExit =findViewById(R.id.button3);
        butExit.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                ActivityConllector.finishAllActivity();
            }
        });

    }

}